-- GENERATED SPELL FOR [Timbermaw Ursa] --


function spell0_6189(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(8078,pUnit)
pUnit:RegisterEvent('Sorts_6189', 10281, 1)
end

function Sorts_6189(pUnit, Event)
local choix_sorts_6189 = math.random(0, 0)
if choix_sorts_6189 == 0 then
pUnit:RegisterEvent('spell0_6189', 1, 1)
end
end

function mob6189_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6189', math.random(1500, 3000), 1)
end

function mob6189_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6189_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6189_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6189, 1, 'mob6189_Action')
RegisterUnitEvent(6189, 2, 'mob6189_Leave')
RegisterUnitEvent(6189, 3, 'mob6189_Kill')
RegisterUnitEvent(6189, 4, 'mob6189_Die')
